FROM java:8
EXPOSE 8080

VOLUME /tmp/shop
ADD jessefyz-admin-1.0.0.jar  /app.jar
RUN bash -c 'touch /app.jar'
ENTRYPOINT ["java","-jar","/app.jar","--spring.config.additional-location=/data/java/config/application-dev.yml"]